package org.irri.smta.service;

import java.util.List;

import org.irri.smta.domain.Material;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

public interface IMaterialService<T, ID> extends IServiceBase<T, ID> {
	
	Long getRowCount();
	List<Material> findAllOrdered();
	List<Material> findByPage(Integer first, Integer pageSize);
	List<Material> findAll(Pageable pageable);
	List<Material> findAll(Specification<Material> specification, Pageable pageable);

}
